home *** CD-ROM | disk | FTP | other *** search
- Path: maine.maine.edu!io92118
- Organization: University of Maine System
- Date: Thu, 7 Mar 1996 09:33:53 EST
- From: <IO92118@MAINE.MAINE.EDU>
- Message-ID: <96067.093353IO92118@MAINE.MAINE.EDU>
- Newsgroups: comp.lang.c++
- Subject: Help for C++ OW programming?
-
- Hi: Friends:
-
- I find out several examples under bc45\examples\owl\examples\step01.cpp
-
- There are many examples under above path.
-
- I can't let the program run to generate window.complier always tell me
-
- can't find OWL252.DLL file.
-
- Could someone tell me what is the procedure to run this program?
-
- The following is the program.
-
- Thank you very much for your help.
-
-
- Han
-
-
-
- //----------------------------------------------------------------------------
- // ObjectWindows - (C) Copyright 1991, 1994 by Borland International
- // Tutorial application -- step01.cpp
- //----------------------------------------------------------------------------
- #include <owl/owlpch.h>
- #include <owl/applicat.h>
- #include <owl/framewin.h>
-
- class TDrawApp :public TApplication {
- public:
- TDRAWAPP() :TAPPLICATION() {}
-
- VOID INITMAINWINDOW()
- {
- SETMAINWINDOW(NEW TFRAMEWINDOW(0, "SAMPLE OBJECTWINDOWS PROGRAM"));
- }
- };
-
- int
- OwlMain(int /*argc*/, char* /*argv*/ [])
- {
- return TDrawApp().Run();
- }
-